<?php 
include TMPL_PATH.'public/header.phtml';
?>
<style>
<!--
body{background-color: #FFFFFF;}
-->
</style>
  <div class="main_right main_right_iframe" id="productrelated">
  <form action="<?php echo U('product/productrelated_add');?>" method="post">
  <table>
    <tr class="nohover"><td class="bold" colspan="2">商品名称</td></tr>
    <tr>
      <td width="50%" id="sc1">
          <input class="input-text" name="product_name"/>
      </td>
      <td width="40%"></td>
    </tr>
    <tr class="nohover"><td class="bold" colspan="2">货号</td></tr>
    <tr>
      <td width="50%" id="sc1">
        <input class="input-text" name="product_sn"/>
      </td>
      <td width="40%"></td>
    </tr>
    <tr class="nohover"><td class="bold" colspan="2">商品类型</td></tr>
    <tr>
      <td width="50%" id="sc1">
        <select name="modelid" id="modelid">
				 	<option value=''>≡ 全部类型  ≡</option>
				 	<?php 
				 	if (isset($modelList) && $modelList):
				 		foreach ($modelList as $key => $val):
				 	?>
				 	<option value='<?php echo $key?>'><?php echo $val;?></option>
				 	<?php 
				 		endforeach;
				 	endif;
				 	?>
				 </select>
      </td>
      <td width="40%"></td>
    </tr>

    <tr class="nohover"><td class="bold" colspan="2">商品分类</td></tr>
     <tr>
     	<td colspan="2">
      	<select name="catid" id="cid">
    		<option value=''>≡ 全部分类  ≡</option>
				<?php echo $select_categorys;?>
				</select>
          </td>
         </tr>

     <tr class="nohover"><td class="bold" colspan="2"><input type="submit" value="提交" class="button"/>
     <input type="submit" value="取消" class="button btn_cancel"/>
     </td></tr>
   </table>
   </form>

  </div>
</body>
</html>